package com.choosefine.it.worker.model.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author chenjian
 * @date 2016-12-21 下午8:49:41
 */
@ApiModel(value="工人与班组关系DTO")
public class WorkerItemsRelationDTO {

	@ApiModelProperty(value = "租户编号")
	private String userCode;
	
	@ApiModelProperty(value = "项目的唯一标识")
	private String projectCode;
	
	@ApiModelProperty(value = "班组详情；eg:水电班")
	private Integer teamId;
	
	@ApiModelProperty(value = "工作种类,用逗号隔开")
	private String workerTypeIdes;
	
	@JsonIgnore
	@ApiModelProperty(value = "创建时间")
    private Long ctime;
	
	@JsonIgnore
	@ApiModelProperty(value = "0：有效，1：无效")
    private Integer isValid;
	
	@ApiModelProperty(value = "上工时间")
    private Long workTime;

	public Long getCtime() {
		return ctime;
	}

	public void setCtime(Long ctime) {
		this.ctime = ctime;
	}

	public Integer getIsValid() {
		return isValid;
	}

	public void setIsValid(Integer isValid) {
		this.isValid = isValid;
	}

	public String getUserCode() {
		return userCode;
	}

	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}

	public String getProjectCode() {
		return projectCode;
	}

	public void setProjectCode(String projectCode) {
		this.projectCode = projectCode;
	}

	public Integer getTeamId() {
		return teamId;
	}

	public void setTeamId(Integer teamId) {
		this.teamId = teamId;
	}

	public String getWorkerTypeIdes() {
		return workerTypeIdes;
	}

	public void setWorkerTypeIdes(String workerTypeIdes) {
		this.workerTypeIdes = workerTypeIdes;
	}

	public Long getWorkTime() {
		return workTime;
	}

	public void setWorkTime(Long workTime) {
		this.workTime = workTime;
	}

}